<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<title><?php echo ($name); ?></title>
<script src="__APP__/statics/jquery-1.9.1.min.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="__APP__/statics/css/jNotify.jquery.css" />
<script type="text/javascript" src="__APP__/statics/jNotify.jquery.js"></script>
<style>
 body{font-family:"微软雅黑";font-size:12px;color:#666666;background-color:#F9F9F6}
 *{margin: 0;} 
 a{text-decoration:none}
 img{border:0px}
.cat{background-color:#F9F9F6;margin-left:10px;z-index:0;}
.cat_list:hover{background-color:#fff;}
.title{background:url("__APP__/statics/tbg.gif");font-weight:bold}

#save{text-align:center;border:0;width:100%;height:40px;background-color:#fff;position:fixed;left:0px;bottom:0px;z-index:999;border:1px solid #DFDFDF;background-color:#DFDFDF;padding:5px;height:20px}
</style>
<body>
<script type="text/javascript" src="__APP__/statics/time/lhgcalendar.min.js"></script>
<script type="text/javascript">
	$(function(){
		$('[name=begin_time]').calendar();
		$('[name=end_time]').calendar();
	});
</script>

<form method="POST" action="__URL__/product">
<table border="0" width="100%" id="table1">
	<tr height="35">
		<td align="right">卡号：</td>
		<td><input type="text" name="wallet" size="20" value="<?php echo ($code); ?>"></td>
	</tr>
	<tr height="35">
		<td align="right">面额：</td>
		<td><input type="text" name="amount" size="20">元</td>
	</tr>

	<tr height="35">
		<td align="right">起始时间：</td>
		<td><input name="begin_time" value="<?php echo ($now); ?>"/></td>
	</tr>
	<tr height="35">
		<td align="right">失效时间：</td>
		<td><input name="end_time"/></td>
	</tr>
	<tr height="35">
		<td align="right">数量：</td>
		<td><input type="text" name="nums" size="20"></td>
	</tr>
	<tr height="35">
		<td>　</td>
		<td>　</td>
	</tr>
	<tr height="35">
		<td colspan="2" align="center"><input type="submit" value="生成礼品卡" name="B1"></td>
	</tr>
</table>

</form>